﻿using System;
using System.ComponentModel.DataAnnotations;

namespace ProjetoComperio.DataLayer.Entities
{
    public class ContributionItem
    {
        public virtual int ContributionItemID { get; set; }

        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        public virtual String FileName { get; set; }

        public virtual String FileUrl { get; set; }

        public virtual DateTime UploadDate { get; set; }

        public virtual String UserName { get; set; }

        public virtual int ContributionID { get; set; }

        public virtual Contribution Contribution { get; set; }

    }
}
